BIN		= nyuenc
OBJS		= main.o ThreadPool.o RLEencode.o

CC		= gcc
CFLAGS		= -Wall -Ofast -march=native -D__LINUX__
LDFLAGS		= -pthread

$(BIN): $(OBJS)
	$(CC) $(LDFLAGS) -o $(BIN) $(OBJS) $(LIBS)

.c.o:
	$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@

clean:
	rm -f $(OBJS) $(BIN)
